package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.AiMessages;
import com.fin.quant.instra.mysql.model.AiMessagesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AiMessagesMapper {
    long countByExample(AiMessagesExample example);

    int deleteByExample(AiMessagesExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AiMessages record);

    int insertSelective(AiMessages record);

    List<AiMessages> selectByExample(AiMessagesExample example);

    AiMessages selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AiMessages record, @Param("example") AiMessagesExample example);

    int updateByExample(@Param("record") AiMessages record, @Param("example") AiMessagesExample example);

    int updateByPrimaryKeySelective(AiMessages record);

    int updateByPrimaryKey(AiMessages record);
}